package com.hangjiang.gulidear.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hangjiang.gulidear.dao.ConfigItemDao;
import com.hangjiang.gulidear.model.ConfigItem;

@Repository("configItemDao")
public class ConfigItemDaoImpl extends BaseDaoImpl<ConfigItem> implements
		ConfigItemDao {

	@SuppressWarnings("unchecked")
	public List<ConfigItem> findAllNotDelete() {
		String hql = "from ConfigItem as item where item.isDelete=0";
		return getHibernateTemplate().find(hql);
	}

}
